<template>
  <div class="city-hd-warp">
    <router-link to="/">
      <div class="city-hd-link-warp iconfont">
        &#xe66a;
      </div>
    </router-link>
    <h1>城市选择</h1>
  </div>
</template>

<script>
  export default {
    name: 'CityHeader'
  }
</script>

<style scoped="scoped">
  .city-hd-warp {
    position: relative;
    height: .88rem;
    background: #00bcd4;
    width: 100%;
    height: .88rem;
    line-height: .88rem;
    border-bottom: 0;
    z-index: 91;
  }

  .city-hd-warp .city-hd-link-warp {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    width: 0.55rem;
    height: 0.88rem;
    line-height: .88rem;
    color: #FFFFFF;
  }

  .city-hd-warp h1 {
    display: inline-block;
    height: .88rem;
    line-height: .88rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .32rem;
    text-align: center;
    color: #fff;
  }
</style>
